/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef ORDER_H_
#define ORDER_H_

//other types
#include <string>
#include <vector>
#include "Date.h"				//TTL A.2
#include "Time.h"				//TTL A.2

using namespace std;

struct Order {
public:
	// constructors
	Order(int odr, int svr, int tbl, int yer, int mth, int dte, int hr, int min);
	// utility functions
	void display();

private:
	// private data
	int order_id;
	int server_id;
	int table_id;
	Date order_date;	//TTL A.2
	Time order_time;  //TTL A.2
};

void read_orders(vector<Order>& order_list, string filepath);	//TTL A.2

#endif //ORDER_H_
